package indi.qing.service;

import indi.qing.VO.ProcessVO;
import indi.qing.VO.RelationVO;
import indi.qing.entity.Relation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 熊卿智
 * @since 2022-01-17
 */
public interface RelationService extends IService<Relation> {

    void addFriend(Relation relation);

    void deleteFriend(Long user1Id, Long user2Id);

    List<Relation> getFriend(Long userId);

    List<RelationVO> getAllAdd(Long userId);

    void processAdd(ProcessVO processVO);
}
